/*
 * GoodsAboutResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.Goods;
import com.yidiandao.business.data.bean.ShareEntity;
import com.yidiandao.business.data.bean.Shop;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/** 物品详情 */
public class GoodsDetailResponse extends BaseResponse {
    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public interface BuyType {
        int CART = 0; //加入购物车
        int BUY = 1; //购买
    }

    public static class DataBean {

        @SerializedName("can_cart")
        private int canCart;

        @SerializedName("can_buy_now")
        private int canBuyNow;

        @SerializedName("goods_info")
        private Goods goodsInfo;

        @SerializedName("supplier_name")
        private Object supplierName;

        @SerializedName("shop_info")
        private Shop shopInfo;

        @SerializedName("goods_desc_url")
        private String goodsDescUrl;

        @SerializedName("activity_list")
        private ActivityListBean activityList;

        @SerializedName("cart_goods_number")
        private int cartGoodsNumber;

        @SerializedName("has_collect")
        private int hasCollect;

        @SerializedName("liks")
        private List<Goods> liks;

        @SerializedName("goods_img")
        private List<String> goodsImg;

        @SerializedName("share")
        private ShareEntity share;

        public int getCanCart() {
            return canCart;
        }

        public void setCanCart(int canCart) {
            this.canCart = canCart;
        }

        public Goods getGoodsInfo() {
            return goodsInfo;
        }

        public void setGoodsInfo(Goods goodsInfo) {
            this.goodsInfo = goodsInfo;
        }

        public Object getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(Object supplierName) {
            this.supplierName = supplierName;
        }

        public Shop getShopInfo() {
            return shopInfo;
        }

        public void setShopInfo(Shop shopInfo) {
            this.shopInfo = shopInfo;
        }

        public String getGoodsDescUrl() {
            return goodsDescUrl;
        }

        public void setGoodsDescUrl(String goodsDescUrl) {
            this.goodsDescUrl = goodsDescUrl;
        }

        public ActivityListBean getActivityList() {
            return activityList;
        }

        public void setActivityList(ActivityListBean activityList) {
            this.activityList = activityList;
        }

        public int getCartGoodsNumber() {
            return cartGoodsNumber;
        }

        public void setCartGoodsNumber(int cartGoodsNumber) {
            this.cartGoodsNumber = cartGoodsNumber;
        }

        public int getHasCollect() {
            return hasCollect;
        }

        public void setHasCollect(int hasCollect) {
            this.hasCollect = hasCollect;
        }

        public List<Goods> getLiks() {
            return liks;
        }

        public void setLiks(List<Goods> liks) {
            this.liks = liks;
        }

        public List<String> getGoodsImg() {
            return goodsImg;
        }

        public void setGoodsImg(List<String> goodsImg) {
            this.goodsImg = goodsImg;
        }

        public ShareEntity getShare() {
            return share;
        }

        public void setShare(ShareEntity share) {
            this.share = share;
        }

        public int getCanBuyNow() {
            return canBuyNow;
        }

        public void setCanBuyNow(int canBuyNow) {
            this.canBuyNow = canBuyNow;
        }

        public static class ActivityListBean {

            @SerializedName("promotion")
            private List<String> promotion;

            @SerializedName("bouns")
            private List<String> bouns;

            @SerializedName("limit_time")
            private List<String> limitTime;

            @SerializedName("free")
            private List<String> free;

            @SerializedName("second_kill")
            private List<String> secondKill;
            @SerializedName("limit_goods")
            private List<String> limitGoods;

            public List<String> getLimitGoods() {
                return limitGoods;
            }

            public void setLimitGoods(List<String> limitGoods) {
                this.limitGoods = limitGoods;
            }

            public List<String> getSecondKill() {
                return secondKill;
            }

            public void setSecondKill(List<String> secondKill) {
                this.secondKill = secondKill;
            }

            public List<String> getLimitTime() {
                return limitTime;
            }

            public void setLimitTime(List<String> limitTime) {
                this.limitTime = limitTime;
            }

            public List<String> getPromotion() {
                return promotion;
            }

            public void setPromotion(List<String> promotion) {
                this.promotion = promotion;
            }

            public List<String> getBouns() {
                return bouns;
            }

            public void setBouns(List<String> bouns) {
                this.bouns = bouns;
            }

            public List<String> getFree() {
                return free;
            }

            public void setFree(List<String> free) {
                this.free = free;
            }
        }
    }
}
